package com.zzyl.service;

import com.zzyl.dto.AlertDataPageQueryDto;
import com.zzyl.entity.AlertRule;
import com.zzyl.vo.AlertDataVo;
import com.zzyl.vo.DeviceDataVo;

import java.util.List;

/**
 * @Description AlertDataService
 * @Author Hua Caoxing
 * @Data 2025-09-15
 */

public interface AlertDataService {
    List<AlertDataVo> pageQuery(AlertDataPageQueryDto alertDataPageQueryDto);

    List<AlertRule> normalize(String iotId,String productKey,List<AlertRule> alertRules);

    void process(DeviceDataVo deviceDataVo, List<AlertRule> alertRules);
}
